package cn.wolfcode.wolf2w.service;

import cn.wolfcode.wolf2w.domain.Region;
import cn.wolfcode.wolf2w.domain.StrategyComment;
import cn.wolfcode.wolf2w.query.RegionQuery;
import cn.wolfcode.wolf2w.query.StrategyCommentQuery;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStrategyCommentService {
    void save(StrategyComment strategyComment);

    StrategyComment get(String id);

    List<StrategyComment> list();

    /**
     * 分页查询
     * @param qo
     * @return
     */
    Page<StrategyComment> query(StrategyCommentQuery qo);


    /**
     * @param cid  评论id
     * @param uid   用户id
     */
    void commentThumb(String cid, String uid);
    //更新阅读点击数
    void updateComment(StrategyComment comment);
}
